package com.vogue.supplymall.shop.domain.dao.impl;

import com.vogue.supplymall.shop.domain.dao.ProductAttrplanDetailDao;
import com.vogue.supplymall.shop.domain.mapper.ProductAttrplanDetailMapper;
import com.vogue.supplymall.shop.domain.model.ProductAttrplanDetail;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

/**
 * @Aouthor: zhangliang
 * @Date: Create in 2017-12-14
 */
@Repository("productAttrplanDetailDao")
public class ProductAttrplanDetailDaoImpl extends BaseDaoImpl<ProductAttrplanDetail, Long> implements ProductAttrplanDetailDao {
	@Resource
	private ProductAttrplanDetailMapper productAttrplanDetailMapper;
	
	@Override
	public List<Long> findAttrplanIdByAttrvalueId(Long attrvalueId) {
		return productAttrplanDetailMapper.findAttrplanIdByAttrvalueId(attrvalueId);
	}
	
}
